﻿@model BudgetApp.Data.Models.TrackBill

@{
    ViewBag.Title = "Delete";
}

<div class="col-md-12">
    <h2>Delete</h2>

    <h3>Are you sure you want to delete this?</h3>
    <div>
        <h4>TrackBill</h4>
        <hr />
        <dl class="dl-horizontal">

            <dt>
                @Html.DisplayNameFor(model => model.InputType.Type)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.InputType.Type)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Category.CategoryType)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Category.CategoryType)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.SubCategory.SubCategoryType)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.SubCategory.SubCategoryType)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.DateDue)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.DateDue)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Amount)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Amount)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Description)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Description)
            </dd>

        </dl>

        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()

            <div class="form-actions no-color">
                <input type="submit" value="Delete" class="btn btn-default" /> |
                @Html.ActionLink("Back to List", "Index")
            </div>
        }
    </div>
</div>